Skip to content

Make DataDictionaryTest external DTD error assertion locale-independent#1091

Merged
chrjohn merged 1 commit into
quickfix-j:masterfrom
wilson-zh:fix-443
Dec 11, 2025
Merged

Make DataDictionaryTest external DTD error assertion locale-independent#1091
chrjohn merged 1 commit into
quickfix-j:masterfrom
wilson-zh:fix-443

Conversation

@wilson-zh

@wilson-zh wilson-zh commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Fixes #443.

This test fails on systems where the XML parser returns a localized (non-English) error message.
The test now forces Locale.US and restores the original locale afterward, ensuring consistent behavior across environments.

Note: I could not reproduce the localized message in CH-ZH on my current setup, but the fix is test-only, low-risk, and directly addresses the issue described.

@chrjohn chrjohn changed the title Make DataDictionaryTest external DTD error assertion locale-independent Make DataDictionaryTest external DTD error assertion locale-independent Dec 11, 2025
@chrjohn chrjohn added this to the QFJ 3.0.0 milestone Dec 11, 2025
@chrjohn

chrjohn commented Dec 11, 2025

Copy link
Copy Markdown
Member

Thanks for the PR, @wilson-zh 👍

@chrjohn chrjohn merged commit 08ecd5f into quickfix-j:master Dec 11, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quickfix.DataDictionaryTest failed because maven language is not english

2 participants